package t327.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Submission {

  private Long id;
  private Long orderId;
  private Long orderStyleRelId;
  private Long colorKindSizeMaterialsRelId;
  private Long producedCount;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
  private Date submitDate;
  private Long productionPlanId;
  private Long departmentId;
  private Long logicDel;
}
